package com.dongjiantong.openplatform.entity;/**
 * Created by cao on 2017/12/13.
 */

import com.google.common.base.MoreObjects;

/**
 * @author cao
 * @create 2017-12-13 下午8:04
 **/
public class OPClientInfo extends OpClient {
    private static final long serialVersionUID = 7744609532644478793L;
    private final String appSecret;

    public OPClientInfo(Long clientId, String appKey, String appSecret) {
        super(clientId, appKey);
        this.appSecret = appSecret;
    }

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this).add("clientId", this.clientId).add("appKey", this.appKey).add("appSecret", this.appSecret).omitNullValues().toString();
    }

    public String getAppSecret() {
        return this.appSecret;
    }
}